//
//  PowerLincUSB.h
//  Shion
//
//  Created by Chris Karr on 12/17/07.
//  Copyright 2007-2008 Audacious Software. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "InsteonCommand.h"
#import "InsteonDevice.h"

#include <CoreFoundation/CoreFoundation.h>
#include <IOKit/hid/IOHIDLib.h>
#include <IOKit/IOCFPlugIn.h>

@interface PowerLincUSB : InsteonDevice 
{
	NSMutableData * pending;
	IOHIDDeviceInterface122** hid;
	InsteonCommand * currentCommand;
}

- (void) sendCommand:(InsteonCommand *) command;
- (void) sendNext;
- (void) resend;
- (BOOL) isReady;

@end
